﻿/** \file
* \$Rev: 187 $
* 
* \$Date: 2010-04-27 21:58:51 +0000 (Tue, 27 Apr 2010) $
*
* \$URL: http://chorus-twitter.googlecode.com/svn/trunk/src/twitter/TwitterID.cs $
*/

using System;
using chorus.utils;

namespace chorus.twitter
{
	/// <summary>
	/// A base class for all Twitter response objects with a numeric ID.
	/// </summary>
	public abstract class TwitterID : Mergeable, IKeyed<ulong>
	{
		/// <summary>The numeric ID.</summary>
		public ulong id { get; set; }

		/// <summary>The key for dictionary indexing.</summary>
		ulong IKeyed<ulong>.Key { get { return id; } }
	}
}
